package co.com.smart.eagle.persistence.entity;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import co.com.smart.eagle.entities.EagleSecurityApplications;
import co.com.smart.eagle.persistence.entity.util.AbstractFacade;

/**
 * Session Bean implementation class ApplicationsFacade
 */
@Stateless(mappedName = "ejb/ApplicationsFacade")
public class ApplicationsFacade extends AbstractFacade<EagleSecurityApplications> implements ApplicationsFacadeLocal {

	@PersistenceContext(unitName = "SmartEaglePU")
	private EntityManager em;   
    /**
     * @see AbstractFacade#AbstractFacade(Class<T>)
     */
    public ApplicationsFacade() {
        super(EagleSecurityApplications.class);
    }
    
    @Override
    protected EntityManager getEntityManager() {
    	return em;
    }

}
